package com.zhang.serviceorder.service;

import com.zhang.internalcommon.dto.OrderRequest;
import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.internalcommon.dto.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张开琦
 * @since 2025-04-16
 */
public interface OrderInfoService extends IService<OrderInfo> {

	ResponseResult addOrder(OrderRequest orderRequest);

	public int dispatchRealTimeOrder(OrderInfo orderInfo);

	ResponseResult toPickUpPassenger(OrderRequest orderRequest);

	ResponseResult arrivedDeparture(OrderRequest orderRequest);

	ResponseResult pickUpPassenger(OrderRequest orderRequest);

	ResponseResult passengerGetoff(OrderRequest orderRequest);

	ResponseResult pushPayInfo(OrderRequest orderRequest);

	ResponseResult pay(OrderRequest orderRequest);

	ResponseResult cancel(Long orderId, String identity);

	ResponseResult book(OrderRequest orderRequest);

	ResponseResult<OrderInfo> detail(Long orderId);

	ResponseResult current(String phone, String identity);
}
